package o;

import android.content.Context;
import com.huawei.hmf.annotation.ApiDefine;
import com.huawei.hmf.annotation.Singleton;

@ApiDefine(uri = ddj.class)
@Singleton
public class ddn implements ddj {
    private dcl ʼ;
    private fhz ˊ;
    private dbs ˋ;
    private fhz ˎ;
    private ddv ˏ;
    private dck ॱ;

    public ddn() {
        ˋ();
    }

    private void ˋ() {
        fhq ˏ = fho.ˏ();
        this.ˎ = ˏ.ˋ("WishList");
        if (this.ˎ != null) {
            this.ॱ = (dck) this.ˎ.ॱ(dck.class);
            this.ʼ = (dcl) this.ˎ.ॱ(dcl.class);
        }
        this.ˊ = ˏ.ˋ("WishWall");
        if (this.ˊ != null) {
            this.ˏ = (ddv) this.ˊ.ॱ(ddv.class);
        }
        fhz ˋ = ˏ.ˋ("WishBase");
        if (ˋ != null) {
            this.ˋ = (dbs) ˋ.ॱ(dbs.class);
        }
    }

    public void ˎ(Context context) {
        fiu.ˊ().ˏ(context, fho.ˏ().ˋ("WishService").ˎ("wish_activity"));
    }

    public dck ˎ() {
        return this.ॱ;
    }

    public dcl ˏ() {
        return this.ʼ;
    }

    public void ˊ(int i) {
        if (this.ˋ != null) {
            this.ˋ.ˏ(i);
        } else {
            ddl.ˎ.ˊ("WishServiceImpl", "setOpenWishWall, iWishBase == null");
        }
    }
}
